import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'


// axios.defaults.baseURL = 'http://localhost:3000/'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    meta:{
keepAlive:true
    },
    component: HomeView
  },
  {
    path: '/about',
    name: 'about',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  },
  {
    path: '/issue',
    name: 'issue',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/issue.vue')
  },
  {
    path: '/my',
    name: 'my',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/my.vue')
  },
  {
    path: '/login',
    name: 'login',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/login.vue')
  }
  ,
  {
    path: '/people',
    name: 'people',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/people.vue')
  },
  {
    path: '/up',
    name: 'up',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/up.vue')
  },
  {
    path: '/wzlb',
    name: 'wzlb',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/wzlb.vue')
  },
  {
    path: '/gerenziliao',
    name: 'gerenziliao',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/gerenziliao.vue')
  },
  {
    path: '/sendlist',
    name: 'sendlist',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/sendlist.vue')
  },
  {
    path: '/seven',
    name: 'seven',
  
    component: () => import(/* webpackChunkName: "about" */ '../views/seven.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router
